﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NetworkAutoBak
{
    public enum BakProc
    {
        Stop,
        Skip,
        Retry

    }
    public partial class BakSelect : Form
    {
        public BakProc SelectBakProc { get; set; }
        public BakSelect(string titleName)
        {
           
            InitializeComponent();
            this.Text = titleName;
        }

        private void btnRetry_Click(object sender, EventArgs e)
        {
            SelectBakProc = BakProc.Retry;
            this.Close();
        }

        private void btnSkip_Click(object sender, EventArgs e)
        {
            SelectBakProc = BakProc.Skip;
            this.Close();
        }

        private void btnStop_Click(object sender, EventArgs e)
        {
            SelectBakProc = BakProc.Stop;
            this.Close();
        }
    }
}
